package com.jiangkang.lottery.service.impl;

import com.jiangkang.lottery.dto.UserPartialInfo;
import com.jiangkang.lottery.mapper.UserMapper;
import com.jiangkang.lottery.service.IUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userService")
@Slf4j
public class UserService implements IUserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public List<UserPartialInfo> batchQueryUserPartialInfoByUnionIds(List<String> unionIds) {
		log.info("unionIds is {}",unionIds);
		return userMapper.batchQueryUserPartialInfoByUnionIds(unionIds);
	}

	@Override
	public UserPartialInfo queryUserByStudentId(String studentId) {
		return userMapper.queryUserByStudentId(studentId);
	}

	@Override
	public String getRefundOpneidByUnionid(String unionid) {
		return null;
	}


}
